<template>
	<view class="my-container">
		<my-login v-if="userinfo==''"></my-login>
    <my-userinfo v-else></my-userinfo>
	</view>
</template>

<script>
  import request from "../../../request/request.js";
  import {mapState} from 'vuex'
	export default {
		data() {
			return {
     
			};
		},
    computed:{
      ...mapState('m_user',['userinfo'])
    },
    // created(){
    //   this.user=uni.getStorageSync('tbAnsweUser');
    // }
	}
</script>

<style lang="scss">
page,.my-container{
   height: 100%;
}
</style>
